<template>
	<view class="msg_pre">
		<view class="no_html" v-if="false">
			<image src="@/static/images/no_img3.png" mode=""></image>
			<text>暂无通知消息</text>
		</view>
		<view class="list" v-for="(item,index) in 10" :key="index">
			<view class="top">
				<view class="title">大降价了大降价了大降价了</view>
				<view class="time">2023/04/07 12:09</view>
			</view>
			<view class="bot">
				<view class="text">恭喜您获得一张50元优惠券</view>
				<view class="dian"></view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		// 右上角点击事件
		onNavigationBarButtonTap(){
			console.log(12)
		},
	}
</script>

<style lang="less">
	.msg_pre{
		width: 100%;
		padding-top: 24rpx;
		.list{
			width: 100%;
			padding: 30rpx 32rpx;
			background: #fff;
			margin-bottom: 1px;
			.top{
				width: 100%;
				display: flex;
				justify-content: space-between;
				.title{
					width: calc(100% - 250rpx);
					font-size: 32rpx;
					font-family: PingFang SC-Medium, PingFang SC;
					font-weight: 500;
					color: #222222;
				}
				.time{
					width:250rpx;
					line-height: 45rpx;
					font-size: 24rpx;
					font-family: PingFang SC-Regular, PingFang SC;
					font-weight: 400;
					color: #999999;
					text-align: right;
				}
			}
			.bot{
				width: 100%;
				padding-top: 20rpx;
				display: flex;
				justify-content: space-between;
				.text{
					width: calc(100% - 20rpx);
					font-size: 28rpx;
					font-family: PingFang SC-Regular, PingFang SC;
					font-weight: 400;
					color: #666666;
				}
				.dian{
					margin-top: 10rpx;
					width: 16rpx;
					height: 16rpx;
					background: #FF6230;
					border-radius: 50%;
				}
			}
		}
	}
</style>
